package com.ntschy.bt.entity.dto.BtHelpDTO.ReviewDTO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ntschy.bt.entity.enums.BtHelpBackEnum;
import com.ntschy.bt.entity.enums.BtHelpExamineResultEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author CM
 */
@Data
@ToString(callSuper = true)
@ApiModel(description = "审核dto")
public class BtHelpAuditDTO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @NotBlank(message = "主键ID不能为空")
    @Length(min = 36, max = 36, message = "供需超市ID长度不合法")
    private String id;

    /**
     * 审核人ID
     */
    @ApiModelProperty(value = "审核人ID")
    @NotNull(message = "审核人ID不能为空")
    private String examineUserId;

    /**
     * 审核人姓名
     */
    @ApiModelProperty(value = "审核人姓名")
    @NotNull(message = "审核人姓名不能为空")
    private String examineUserName;


    /**
     * 分配审核说明
     */
    @ApiModelProperty(value = "分配审核说明")
    private String examineOpinion;


    /**
     * 审核状态
     */
    @ApiModelProperty(value = "0 审核退回 1审核通过")
    @NotNull(message = "审核状态不能为空")
    private BtHelpExamineResultEnum examineResult;







}
